<?php

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

require_once( $mainframe->getPath( 'toolbar_html' ) );

switch ($task) {
    case 'reports':
    case 'doReports':
        TOOLBAR_logs::reports();
        break;
    case 'purge':
        TOOLBAR_logs::purge();
        break;
}
?>